package indi.woniu.entity;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @Author: GaN601
 * @Date: 2021/12/21 15:31
 * @Description:
 */
@Data
public class UserDo {
    
    private long id;
    private Role role;
    private String username;
    private String password;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    public UserDo() {
    }
    
    public UserDo(final String username, final String password, final List<GrantedAuthority> authorities) {}
}
